A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pandas-dev/pandas/commit/7651c08230914ded8fceb93c990e2c859d51510d below:

Skip flaky, crashing test in Windows (#45786) · pandas-dev/pandas@7651c08 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+8

-0

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+8

-0

lines changed Original file line number Diff line number Diff line change

@@ -1,10 +1,13 @@

1 1

from collections import defaultdict

2 2

from datetime import datetime

3 3

from itertools import product

4 +

import os

4 5 5 6

import numpy as np

6 7

import pytest

7 8 9 +

from pandas.compat import is_platform_windows

10 + 8 11

from pandas import (

9 12

DataFrame,

10 13

MultiIndex,

@@ -424,6 +427,11 @@ def test_codes(self, verify, codes, exp_codes, na_sentinel):

424 427

tm.assert_numpy_array_equal(result, expected)

425 428

tm.assert_numpy_array_equal(result_codes, expected_codes)

426 429 430 +

@pytest.mark.skipif(

431 +

is_platform_windows() and os.environ.get("PANDAS_CI", "0") == "1",

432 +

reason="In CI environment can crash thread with: "

433 +

"Windows fatal exception: access violation",

434 +

)

427 435

@pytest.mark.parametrize("na_sentinel", [-1, 99])

428 436

def test_codes_out_of_bound(self, na_sentinel):

429 437

values = [3, 1, 2, 0, 4]

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4