Skip to content

Commit

Permalink
remove weird tests with differing behavior for Py/C versions
Browse files Browse the repository at this point in the history
  • Loading branch information
hannosch committed May 4, 2013
1 parent e207847 commit b571cb3
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/Record/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,6 @@ def test_init_two(self):
r = R((1, 2, None), parent)
self.assertEqual(tuple(r), (1, 2, None))

def test_incomplete_subclass(self):
class R(Record):
def __init__(self, *args):
pass
__record_schema__ = {'a': 0}
r = R((1, ))
self.assertEqual(tuple(r), (1, ))
self.assertEqual(r[0], 1)
self.assertEqual(r.a, 1)

def test_pickling(self):
# We can create records from sequences
r = R(('x', 42, 1.23))
Expand Down

0 comments on commit b571cb3

Please sign in to comment.