Created
December 12, 2011 23:04
-
-
Save schmir/1469561 to your computer and use it in GitHub Desktop.
py.test fails with "TypeError: unorderable types: NoneType() < int()" with python 3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# py.test fails with "TypeError: unorderable types: NoneType() < int()" | |
import unittest | |
class TestJoinEmpty(unittest.TestCase): | |
pass | |
def make_test(): | |
class Test(unittest.TestCase): | |
pass | |
Test.__name__ = "TestFoo" | |
return Test | |
TestFoo = make_test() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
please attach full output