mirror of
				https://github.com/rasbt/LLMs-from-scratch.git
				synced 2025-11-04 03:40:21 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			454 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			454 B
		
	
	
	
		
			Python
		
	
	
	
	
	
# Copyright (c) Sebastian Raschka under Apache License 2.0 (see LICENSE.txt).
 | 
						|
# Source for "Build a Large Language Model From Scratch"
 | 
						|
#   - https://www.manning.com/books/build-a-large-language-model-from-scratch
 | 
						|
# Code: https://github.com/rasbt/LLMs-from-scratch
 | 
						|
 | 
						|
# File for internal use (unit tests)
 | 
						|
 | 
						|
from python_environment_check import main
 | 
						|
 | 
						|
 | 
						|
def test_main(capsys):
 | 
						|
    main()
 | 
						|
    captured = capsys.readouterr()
 | 
						|
    assert "FAIL" not in captured.out
 |