Closed tirkarthi closed 5 years ago
I think this is due to the fact that tests call query at https://github.com/kennethreitz/records/blob/master/records.py#L300 which returns a closed connection object as it returns from the context manager thus causing the subsequent tests to use closed connection object as they yield from the fixture.
Thanks
See #149.
Thanks, it seems this is a duplicate. Closing.
I just noticed that the tests fail on the master branch. I did git bisect and it seems some refactoring done in e2e73cbf5dd2eb565da3ea45a8aa6d061bca0a1d causes statements to be executed on closed connection.
Thanks