Skip to content

Commit 54ebfda

Browse files
committed
Workaround for failing tests on Windows environment
1 parent 37541e4 commit 54ebfda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gpustat/test_gpustat.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def _decorated(*args, **kwargs):
152152
154213: ('user1', 'caffe', 16.89, 100.00),
153153
38310: ('user3', 'python', 26.23, 99.9653),
154154
153223: ('user2', 'python', 15.25, 0.0000),
155-
194826: ('user3', '/local/bin/caffe', 0.0, 12.5236),
155+
194826: ('user3', 'caffe', 0.0, 12.5236),
156156
192453: ('user1', 'torch', 123.2, 0.7312),
157157
}
158158

@@ -191,7 +191,7 @@ def _MockedMem():
191191
└─ 153223 ( 15%, 0B): python
192192
[1] GeForce GTX TITAN 1 | 36°C, 53 %, 0 % (E: 0 % D: 0 %), ?? / 250 W | 9000 / 12189 MB | user1:torch/192453(3000M) user3:caffe/194826(6000M)
193193
├─ 192453 ( 123%, 59MB): torch
194-
└─ 194826 ( 0%, 1025MB): /local/bin/caffe
194+
└─ 194826 ( 0%, 1025MB): caffe
195195
[2] GeForce GTX TITAN 2 | 71°C, 100 %, ?? % (E: ?? % D: ?? %), 250 / ?? W | 0 / 12189 MB | (Not Supported)
196196
""".splitlines()) # noqa: E501
197197

0 commit comments

Comments
 (0)