| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -38,20 +38,6 @@ | |||
| 38 | 38 | import os.path as osp | |
| 39 | 39 | ||
| 40 | 40 | ||
| 41 | - # Change the configuration if possible to prevent the underlying memory manager | ||
| 42 | - # to keep file handles open. On windows we get problems as they are not properly | ||
| 43 | - # closed due to mmap bugs on windows (as it appears) | ||
| 44 | - if is_win: | ||
| 45 | - try: | ||
| 46 | - import smmap.util # @UnusedImport | ||
| 47 | - smmap.util.MapRegion._test_read_into_memory = True | ||
| 48 | - except ImportError: | ||
| 49 | - sys.stderr.write("The submodule tests will fail as some files cannot be removed due to open file handles.\n") | ||
| 50 | - sys.stderr.write( | ||
| 51 | - "The latest version of gitdb uses a memory map manager which can be configured to work around this problem") | ||
| 52 | - # END handle windows platform | ||
| 53 | - | ||
| 54 | - | ||
| 55 | 41 | class TestRootProgress(RootUpdateProgress): | |
| 56 | 42 | ||
| 57 | 43 | """Just prints messages, for now without checking the correctness of the states""" | |
| Back | FazBrowse Home | New Git URL |
0 commit comments