From bd1334d6b1c6f350ec6e22f0f7955a469af7387b Mon Sep 17 00:00:00 2001 From: YangyiLi001 <91095060+YangyiLi001@users.noreply.github.com> Date: Fri, 3 Jun 2022 13:25:42 -0700 Subject: [PATCH] change file name for windows compatibility (#143) Co-authored-by: Yangyili --- test/pecos/xmc/xlinear/test_xlinear.py | 4 ++-- test/tst-data/xmc/xlinear/P_nr_splits=2.npz | Bin 0 -> 956 bytes test/tst-data/xmc/xlinear/P_nr_splits=4.npz | Bin 0 -> 936 bytes 3 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 test/tst-data/xmc/xlinear/P_nr_splits=2.npz create mode 100644 test/tst-data/xmc/xlinear/P_nr_splits=4.npz diff --git a/test/pecos/xmc/xlinear/test_xlinear.py b/test/pecos/xmc/xlinear/test_xlinear.py index 869f188..d5de618 100644 --- a/test/pecos/xmc/xlinear/test_xlinear.py +++ b/test/pecos/xmc/xlinear/test_xlinear.py @@ -329,8 +329,8 @@ def test_cli(tmpdir): true_Y_pred_file = "test/tst-data/xmc/xlinear/Yt_pred.npz" true_Y_pred_with_man_file = "test/tst-data/xmc/xlinear/Yt_pred_with_tfn+man.npz" true_Yt_pred_with_splits = { - 2: "test/tst-data/xmc/xlinear/P:nr_splits=2.npz", - 4: "test/tst-data/xmc/xlinear/P:nr_splits=4.npz", + 2: "test/tst-data/xmc/xlinear/P_nr_splits=2.npz", + 4: "test/tst-data/xmc/xlinear/P_nr_splits=4.npz", } test_Y_pred_file = str(tmpdir.join("Yt_pred_test.npz")) code_file = str(tmpdir.join("codes.npz")) diff --git a/test/tst-data/xmc/xlinear/P_nr_splits=2.npz b/test/tst-data/xmc/xlinear/P_nr_splits=2.npz new file mode 100644 index 0000000000000000000000000000000000000000..af46c2cab64687d0458179f38cd21c35ee496845 GIT binary patch literal 956 zcmWIWW@Zs#U|`??Vnv2j&CSQNfUE~V%nihuc`2F6sl|GE1(mbkh`*8+IC&!ASistO zlcMItEXiBCAa8Q!qIHWG%$pV;5;SFo`26@OlemP+z0YX+v37~4tB5UO`YGk6W;M%- zYb)0iW<57HHa0Ofjs&(OHH9?RBr}CH_9Q-qXDms23eVbBrMd*2c5tv|2taX?hMx?t z56~$+K+FYkQb9=(MJ_r9agYdu9-G1g#w1P!HZ(gIA1;~h3bd;kYG+!0QEp-hPCMg- zbJh?F1#l3EFs^&@ND0ldpaO;}FQ7#efS41Ai!%}nQgPY^4Dp48>~e$qPmPU3pz#u# zg<0~8p0@%mdH}?rXirHjNyKAc8YwY+oS*gEWb6FM%`>-0*S>hR&8lwoxlc#79~FD? zB&6td{ZX?}=~2?p;fr=Di~mJ`1LI_fMrbNR*M}bW2z~58D-kIHT_1WhBJ`C2^}!<*T^o92 bAhbONYJ){hfHx}}NQM;%#em`ym_R%Lzf%+z literal 0 HcmV?d00001 diff --git a/test/tst-data/xmc/xlinear/P_nr_splits=4.npz b/test/tst-data/xmc/xlinear/P_nr_splits=4.npz new file mode 100644 index 0000000000000000000000000000000000000000..24658dd891703ef08e3fa35b15bd5553def8c29d GIT binary patch literal 936 zcmWIWW@Zs#U|`??Vnv3;O=~66fvg8W%nihuc`2F6sl|GE1(mbkh`*8+IC&!ASistO zlcMItEXiBCAa8Q!qIHWG%$pV;5;SFo`26@OlemP+z0YX+v37~4tB5UO`YGk6W;M%- zYb)0iW<57HHa0PZw6q2WHH9?RBr}CH_9Q-qXDms23eVbBrK&jEG6bNwN5fBs*9Yj1 z9w6p|xTm0`h$814gSbY7L61%00b>%U0vnp0iw~DfcLmzj47D>YzbH4c1gD*G!Z~XQ z1p(OqB8=;vJW@ilEU18?$_r@G1R&-F;^K_Nf>fM#0fT!XA-mk*{!?S)5NN!FX5sHT zhs7m8iyiX2&O=jeGN~ zHlO|L#r?W=f67{iA8kd;RP}g(E@Na8VaA>MfX)Mh21XEtloru7q9+rGHU@?UMo_o{ zH9`{&x<2%%M(AS!T8W5wbbaWthR|0C)CZ44bZzKikI?oAs0|hq0p6@^AQ@I56a$La HFoAdg1=t8O literal 0 HcmV?d00001