File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import duckdb
22import numpy as np
3- import platform
43import tempfile
54import os
65import pandas as pd
@@ -527,13 +526,6 @@ def test_relation_print(self):
527526 2048 ,
528527 5000 ,
529528 1000000 ,
530- pytest .param (
531- 10000000 ,
532- marks = pytest .mark .skipif (
533- condition = platform .system () == "Emscripten" ,
534- reason = "Emscripten/Pyodide builds run out of memory at this scale, and error might not thrown reliably" ,
535- ),
536- ),
537529 ],
538530 )
539531 def test_materialized_relation (self , duckdb_cursor , num_rows ):
Original file line number Diff line number Diff line change 1+ import platform
2+ import pytest
3+
4+
5+ class TestRelationSlow (object ):
6+ @pytest .mark .skipif (
7+ condition = platform .system () == "Emscripten" ,
8+ reason = "Emscripten/Pyodide builds run out of memory at this scale, and error might not thrown reliably" ,
9+ )
10+ def test_materialized_relation_large (self , duckdb_cursor ):
11+ """Test materialized relation with 10M rows - moved from fast tests due to 1+ minute runtime"""
12+ # Import the implementation function from the fast test
13+ import sys
14+ import os
15+ sys .path .append (os .path .join (os .path .dirname (__file__ ), '..' , 'fast' ))
16+ from test_relation import TestRelation
17+
18+ # Create instance and call the test with large parameter
19+ test_instance = TestRelation ()
20+ test_instance .test_materialized_relation (duckdb_cursor , 10000000 )
You can’t perform that action at this time.
0 commit comments