diff options
| author | Simon Feltman <sfeltman@src.gnome.org> | 2013-11-12 03:46:08 -0800 |
|---|---|---|
| committer | Simon Feltman <sfeltman@src.gnome.org> | 2013-11-12 03:46:56 -0800 |
| commit | 8342302dac9bf3fcb49ec3ac334dbf014b4db025 (patch) | |
| tree | 37e549d5465cea1621b7e072d3b99a9f17173d4e /tests/test_properties.py | |
| parent | 1f37340c4623262a2146ec8cd25b487cdf4234bd (diff) | |
| download | pygobject-8342302dac9bf3fcb49ec3ac334dbf014b4db025.tar.gz | |
Revert "Add type checking to positional Gtk.Box and Gtk.Window ctor arguments"
This reverts commit 7193f0509a0ed7da7c810daa6733e34a22db3180.
Diffstat (limited to 'tests/test_properties.py')
| -rw-r--r-- | tests/test_properties.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/test_properties.py b/tests/test_properties.py index ec9ddf13..ef6b8674 100644 --- a/tests/test_properties.py +++ b/tests/test_properties.py @@ -481,15 +481,6 @@ class TestPropertyObject(unittest.TestCase): self.assertEqual(normal, "foo") self.assertEqual(uint64, 7) - def test_positional_args(self): - # GObject constructor must only allow keyword args - self.assertRaises(TypeError, new, PropertyObject, None) - self.assertRaises(TypeError, new, PropertyObject, "hello", 2) - - def test_unknown_constructor_property(self): - # GObject constructor must refuse unknown properties - self.assertRaises(TypeError, new, PropertyObject, unknown_prop=1) - class TestProperty(unittest.TestCase): def test_simple(self): |
