You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			30 lines
		
	
	
		
			795 B
		
	
	
	
		
			Python
		
	
			
		
		
	
	
			30 lines
		
	
	
		
			795 B
		
	
	
	
		
			Python
		
	
import pytest
 | 
						|
 | 
						|
from . import util
 | 
						|
 | 
						|
 | 
						|
@pytest.mark.slow
 | 
						|
class TestRenamedFunc(util.F2PyTest):
 | 
						|
    sources = [
 | 
						|
        util.getpath("tests", "src", "routines", "funcfortranname.f"),
 | 
						|
        util.getpath("tests", "src", "routines", "funcfortranname.pyf"),
 | 
						|
    ]
 | 
						|
    module_name = "funcfortranname"
 | 
						|
 | 
						|
    def test_gh25799(self):
 | 
						|
        assert dir(self.module)
 | 
						|
        assert self.module.funcfortranname_default(200, 12) == 212
 | 
						|
 | 
						|
 | 
						|
@pytest.mark.slow
 | 
						|
class TestRenamedSubroutine(util.F2PyTest):
 | 
						|
    sources = [
 | 
						|
        util.getpath("tests", "src", "routines", "subrout.f"),
 | 
						|
        util.getpath("tests", "src", "routines", "subrout.pyf"),
 | 
						|
    ]
 | 
						|
    module_name = "subrout"
 | 
						|
 | 
						|
    def test_renamed_subroutine(self):
 | 
						|
        assert dir(self.module)
 | 
						|
        assert self.module.subrout_default(200, 12) == 212
 |