Skip to content

Commit 0e928a1

Browse files
committed
Memory test is not stable on Windows.
1 parent 22650f9 commit 0e928a1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_memory.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
# -*- coding: utf-8 -*-
22

33
import gc
4+
import sys
45
import psutil
56
import pymssql
7+
import pytest
68

79

10+
@pytest.mark.xfail(sys.platform == "win32", reason="Memory test is not stable on Windows")
811
def test_memory_leak_on_unsuccessful_connect():
912

1013
p = psutil.Process()

0 commit comments

Comments
 (0)