Skip to content

Commit

Permalink
Use methflags argument for defines instead of discarding it
Browse files Browse the repository at this point in the history
	* codegen/codegen.py (Wrapper.write_methods): Use methflags
	argument for defines instead of discarding it
  • Loading branch information
Johan Dahlin committed Aug 6, 2004
1 parent 5dc644b commit 8b75bb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/enum.py
Expand Up @@ -73,7 +73,7 @@ def testParamSpec(self):
assert len(klass.__enum_values__) >= 2

def testOutofBounds(self):
gtk.icon_size_register('fake', 24, 24)
assert gtk.icon_size_register('fake', 24, 24) == 7

class FlagsTest(unittest.TestCase):
def testFlags(self):
Expand Down

0 comments on commit 8b75bb8

Please sign in to comment.