diff options
Diffstat (limited to 'test/orm/test_unitofwork.py')
| -rw-r--r-- | test/orm/test_unitofwork.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/orm/test_unitofwork.py b/test/orm/test_unitofwork.py index 362ff35ca..b0dbfe390 100644 --- a/test/orm/test_unitofwork.py +++ b/test/orm/test_unitofwork.py @@ -2483,3 +2483,13 @@ class PartialNullPKTest(fixtures.MappedTest): "check that the database table allows generation ", s.commit ) + + def test_dont_complain_if_no_update(self): + T1 = self.classes.T1 + s = Session() + t = T1(col1="1", col2=None) + s.add(t) + s.commit() + + t.col1 = "1" + s.commit()
\ No newline at end of file |
