(database, *args, **kwargs)
| 713 | |
| 714 | def test_factory_database_arg(self): |
| 715 | def factory(database, *args, **kwargs): |
| 716 | nonlocal database_arg |
| 717 | database_arg = database |
| 718 | return sqlite.Connection(":memory:", *args, **kwargs) |
| 719 | |
| 720 | for database in (TESTFN, os.fsencode(TESTFN), |
| 721 | FakePath(TESTFN), FakePath(os.fsencode(TESTFN))): |
no outgoing calls
no test coverage detected