Skip to content

Commit

Permalink
Threw out unittest loader
Browse files Browse the repository at this point in the history
  • Loading branch information
vernans committed Oct 5, 2018
1 parent cd0f281 commit 11bac85
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
2 changes: 0 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ def read(*rnames):
packages=find_packages('src'),
package_dir={'': 'src'},
namespace_packages=['zope'],
tests_require=TESTS_REQUIRE,
test_suite='zope.size.tests.test_suite',
extras_require={
'zcml': ZCML_REQUIRES,
'test': TESTS_REQUIRE,
Expand Down
3 changes: 0 additions & 3 deletions src/zope/size/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,3 @@ def test_byteDisplay(self):
self.assertEqual(byteDisplay(2000000), '${size} MB')
self.assertEqual(byteDisplay(2000000).mapping, {'size': '1.91'})


def test_suite():
return unittest.defaultTestLoader.loadTestsFromName(__name__)
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
envlist = py27,py34,py35,py36,pypy,pypy3

[testenv]
commands =
commands =
zope-testrunner --test-path=src -v
deps =
zope.testrunner
Expand Down

0 comments on commit 11bac85

Please sign in to comment.