Skip to content

Commit

Permalink
Python 3: explicit relative imports
Browse files Browse the repository at this point in the history
  • Loading branch information
mgedmin committed Oct 21, 2017
1 parent f2acbf8 commit 39a84a1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions src/zope/server/ftp/tests/test_demofs.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@
##############################################################################
"""Test the Demo Filesystem implementation.
"""
import demofs
from unittest import TestCase, TestSuite, main, makeSuite
from fstests import FileSystemTests
from StringIO import StringIO

from . import demofs
from .fstests import FileSystemTests


class Test(FileSystemTests, TestCase):

def setUp(self):
Expand Down
6 changes: 4 additions & 2 deletions src/zope/server/ftp/tests/test_publisher.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@
##############################################################################
"""Test the FTP publisher.
"""
import demofs
from unittest import TestCase, TestSuite, main, makeSuite
from fstests import FileSystemTests
from StringIO import StringIO
from zope.publisher.publish import mapply

from . import demofs
from .fstests import FileSystemTests


class DemoFileSystem(demofs.DemoFileSystem):

def rename(self, path, old, new):
Expand Down

0 comments on commit 39a84a1

Please sign in to comment.